$(function() {
	var userName = $("#user").text();
	var subCom = $("#subCom");
	if (userName != null && userName != "" && userName != "登录") {
		subCom.show();
	} else {
		subCom.hide();
	}

	var login = $("#login").text();
	var logCom = $("#comment");
	if (login != "登录") {
		logCom.hide();
	} else {
		logCom.show();
	}

	var comUser = $("#comUser").text();
	var comList = $("#comList");
	if (comUser != null && comUser != "") {
		comList.show();
	} else {
		comList.hide();
	}
})